package com.hava.demo.springmvc.manager.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import javax.servlet.http.HttpServletRequest;

/**
 * Created by zhanpeng on 15-4-9.
 */

@Controller
@RequestMapping(value = "/demo/manager/sidebar")
public class DemoSidebarController {
    @RequestMapping(method = RequestMethod.GET)
    public String get() {
        return "demo/manager/sidebar";
    }

    @RequestMapping(method = RequestMethod.POST)
    public String post(HttpServletRequest request) {
        return "demo/manager/sidebar";
    }
}
